#pragma once

namespace MemorySpace
{
	class Card
	{
	private:
		char c;
		bool faceUp;
	public:
		Card();
		Card(char c);
		~Card();

		//Returns a boolean value indicating if the card is facing up
		bool facingUp(){ return this->faceUp; }
		//Set the value for if the card is facing up
		void setFacingUp(bool facingUp){ this->faceUp = facingUp; }
		//Returns the "face" on the card (char)
		char getFace(){ return this->c; }
		//Removes the card from the board by making it face up with a blank face (' ')
		void removeFromBoard(){ this->c = ' '; this->faceUp = true; }
	};
}